set(SIMULATOR_SOURCES ControledSources.cpp Probes.cpp SourceFunc.cpp Source.cpp Analysis.cpp Inductor.cpp Capacitor.cpp Circuit.cpp resistor.cpp subcircuit.cpp plot.cc ShuntingYard.cpp)

add_library(simulator STATIC ${SIMULATOR_SOURCES})

set(TEMPLATE_DIR "${CMAKE_SOURCE_DIR}/templates")
set_target_properties(simulator PROPERTIES COMPILE_FLAGS "-I\"${TEMPLATE_DIR}\"")